package com.buka.goods.service;

import com.buka.server.pojo.Product;
import com.github.pagehelper.Page;

import java.util.List;

public interface ProductService {


        List<Product> findAll();
        List<Product> findList(Product product);
        Page<Product> findAllPage(Integer page,Integer size);
        Page<Product> findListPage(Integer page, Integer size, Product product);
        Integer add(Product product);
        Integer update(Product product);
        Integer delete(Long id);
        Integer status(Long id,Integer status);

}
